CC=gcc
APP=ahu
PRJDIR=/mnt/hgfs/ShareDirHost/logical_control
#PRJDIR=/mnt/hgfs/sharedir/logical_control
OUTDIR=/mnt/hgfs/ShareDirHost/logical_control/bin

INCLUDE= \
	-I${PRJDIR}/src/${APP} \
	-I${PRJDIR}/src/signal \
	-I${PRJDIR}/src/es_print \
	-I${PRJDIR}/src/pid \
	-I${PRJDIR}/src/list \
	-I${PRJDIR}/src

LIB=-lpthread -lmosquitto -ljson-c

EXE=aaaa

all:
	${CC} main.c \
	ahumqtt.c \
	ahudata.c \
	ahuproc.c \
	ahulist.c \
	ahufsm.c \
	ahuprotocal.c \
	ahutimer.c \
	ahupid.c \
	timer/timer.c \
	../pid/pid.c \
	../signal/thread_signal.c \
	${INCLUDE} \
	${LIB} \
	-Wall -g \
	-o ahu
